﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YemekteyizLib
{
    
    public class Il : IComparable<Il>
    {
        #region properties
        public int ID { get; set; }
        public List<Ilce> Ilceleri { get; set; }
        public string Adi { get; set; }
        #endregion


        #region constructions
        public Il()
        {

        }
        #endregion




        #region IComparable<Il> Members

        public int CompareTo(Il other)
        {
            return string.Compare(this.Adi,other.Adi);
        }

        #endregion
    }
   



   
}
